package com.wuye.basic.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuye.basic.domain.WyUnitInfo;
import com.wuye.basic.domain.cascade.CascadeCommunity;
import com.wuye.basic.domain.dto.WyUnitInfoDTO;
import com.wuye.common.core.page.TableDataInfo;

/**
 * 单元Service接口
 * 
 * @author avalon
 * @date 2024-11-26
 */
public interface IWyUnitInfoService extends IService<WyUnitInfo>
{


    /**
     * 查询单元列表
     * 
     * @param wyUnitInfo 单元
     * @return 单元集合
     */
    public List<WyUnitInfo> selectWyUnitInfoList(WyUnitInfo wyUnitInfo);




    TableDataInfo selectInfo(WyUnitInfo wyUnitInfo);

    boolean deleteBatchIds(List<Long> list);

    WyUnitInfoDTO getInfoById(Long id);

    boolean edit(WyUnitInfoDTO wyUnitInfoDTO);

    List<CascadeCommunity> cascade();
}
